
cmd="jmx_prometheus_httpserver"
pid1=$(ps aux | grep -w "$cmd" | grep java |grep -v grep | awk -F ' ' '{print$2}')
[ -n "$pid1" ] && kill -9 $pid1

